package com.cw.entity;

import com.alibaba.excel.annotation.*;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.*;
import java.io.*;
import java.time.*;
import lombok.*;
import lombok.experimental.*;

/**
* @author smq
* @since 2021-04-27
*/
@ApiModel(value ="病区、医生、科室关联表")
@Data
    @EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("AREA_DOCTOR_DEPT")
public class AreaDoctorDept implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId("id")
    private String id;


    @ApiModelProperty(value = "1:病区-医生、2:病区-科室、3:医生-科室")
    @ExcelProperty(value = "TYPE_CODE")
    @TableField("TYPE_CODE")
        private String typeCode;

    @ApiModelProperty(value = "关联code")
    @ExcelProperty(value = "CODE")
    @TableField("CODE")
        private String code;

    @ApiModelProperty(value = "关联名称")
    @ExcelProperty(value = "NAME")
    @TableField("NAME")
        private String name;

    @ApiModelProperty(value = "关联code1")
    @ExcelProperty(value = "OTHER_CODE")
    @TableField("OTHER_CODE")
        private String otherCode;

    @ApiModelProperty(value = "关联名称1")
    @ExcelProperty(value = "OTHER_NAME")
    @TableField("OTHER_NAME")
        private String otherName;

    @ExcelProperty(value = "CREATE_TIME")
    @TableField("CREATE_TIME")
        private LocalDateTime createTime;

    @ExcelProperty(value = "CREATE_BY")
    @TableField("CREATE_BY")
        private String createBy;

    @ApiModelProperty(value = "删除 0:未删除 1:已删除")
    @ExcelProperty(value = "DELETE_FLAG")
    @TableField("DELETE_FLAG")
        private String deleteFlag;



}
